from PyQt4.Qt import *
from PyQt4.Qwt5 import *
from PyQt4.Qwt5.qplt import *

from math import trunc as t
from random import random as r

application = QApplication([])

x = range(100)
y = [t(r()*100) for i in range(100)]

p = Plot(Curve(x,y,Pen(Red), "rnd"))

sys.exit(application.exec_())
